home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 424_02 / ED-157 / makefile < prev    next >
Makefile  |  1993-11-18  |  282b  |  17 lines

  1. # makefile for ED.
  2. #
  3. # To build ed, say:
  4. #
  5. #    make
  6. #
  7. include objects
  8. include compiler
  9. a.out:    config.h main.o $(OBJECTS)
  10.     $(CC) main.o $(OBJECTS) -lm -o $@
  11.     strip $@
  12. %.o:    %.c
  13.     $(CC) $(CFLAGS) -c -o $@ $<
  14. config.h:
  15.     @echo You must run configure or autoconfigure before make !
  16.     @exit 2
  17.